Skip to content

test(e2e): align prepaid checkout with configurable payment methods - #243

Merged
khaira777 merged 1 commit into
mainfrom
test/fix-prepaid-payment-e2e
Aug 11, 2026
Merged

test(e2e): align prepaid checkout with configurable payment methods#243
khaira777 merged 1 commit into
mainfrom
test/fix-prepaid-payment-e2e

Conversation

@khaira777

Copy link
Copy Markdown
Contributor

Summary

  • update prepaid checkout E2E coverage for the configurable payment-method UI
  • select Cash before confirming payment in both prepaid scenarios
  • assert the Confirm Payment action is enabled before exercising the API flow

The application intentionally starts payment amounts empty after configurable payment methods were introduced; clicking a payment-method button allocates the remaining balance. The previous tests assumed the old auto-filled behavior.

Validation

  • npm run test:e2e — 4 passed
  • npm test — passed
  • npm run lint — passed with existing warnings
  • npm run test:customer-auth — passed in 10 consecutive runs

No application code was changed. The intermittent customer-auth result was not reproduced and does not need a fix in this PR.

@khaira777

Copy link
Copy Markdown
Contributor Author

This is the follow-up for PR #242. Merge this test-only change first (or update #242 after merge) so the product-description PR can rerun the previously failing E2E check.

@khaira777
khaira777 merged commit f9e8b3e into main Aug 11, 2026
5 checks passed
@khaira777
khaira777 deleted the test/fix-prepaid-payment-e2e branch August 11, 2026 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant